Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.social.relationship.directoryContrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.social.relationship.directoryContrib">
  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
    <schema name="actor_relationship_kind" src="schemas/actor_relationship_kind.xsd" />
    <schema name="actor_relationship" src="schemas/actor_relationship.xsd" />
  </extension>

  <extension target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory"
    point="directories">

    <directory name="actorRelationshipDirectory">
      <schema>actor_relationship</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>actor_relationship</table>
      <idField>id</idField>
      <autoincrementIdField>true</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
      <substringMatchType>subany</substringMatchType>
    </directory>

  </extension>

</component>